package edu.washington.tcss360.burningpenguins.data;

/**
 * A class to represent the User table in the DB.
 * 
 * @author Chris Gelatt
 * @version 1.0
 * @since 2013-11-2
 *
 */
public class User extends DataObject
{
	private Integer id;
	private String username;
	private String email;
	private String firstName;
	private String lastName;
	
	public User()
	{
		super();
	}
	
	public User(String username, String email, String firstName, String lastName)
	{
		super();
		setId(0);
		setUsername(username);
		setEmail(email);
		setFirstName(firstName);
		setLastName(lastName);
	}
	
	public Integer getId()
	{
		return id;
	}
	
	public void setId(Integer id)
	{
		this.id = id;
	}

	public String getUsername()
	{
		return username;
	}
	
	public void setUsername(String username)
	{
		this.username = username;
	}
	
	public String getEmail()
	{
		return email;
	}
	
	public void setEmail(String email)
	{
		this.email = email;
	}
	
	public String getFirstName()
	{
		return firstName;
	}
	
	public void setFirstName(String firstName)
	{
		this.firstName = firstName;
	}
	
	public String getLastName()
	{
		return lastName;
	}
	
	public void setLastName(String lastName)
	{
		this.lastName = lastName;
	}
}
